
package com.insigma.business.qrcode.welfare._consumer.impl;


import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.welfare.dto.MarketingSpotDeliveryDTO;
import com.insigma.business.qrcode.welfare.dto.request.MarketingSpotSearchRequest;
import com.insigma.business.qrcode.welfare._consumer.MarketingSpotConsumer;
import com.insigma.business.qrcode.welfare._provider.MarketingSpotProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service("marketingSpotConsumer")
public class MarketingSpotConsumerImpl implements MarketingSpotConsumer {

    @Resource
    private MarketingSpotProvider marketingSpotProvider;

    @Override
    public BaseResponse<MarketingSpotDeliveryDTO> deliveryMaterial(MarketingSpotSearchRequest request) {
        return marketingSpotProvider.deliveryMaterial(request);
    }

}
